package com.fancymusic.service;

import com.fancymusic.entity.User;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface IUserService {

    List<User> findUserList();

    Boolean insertUser(User user);

    PageInfo<User> findUserListByPage(Integer page,Integer size);

    User findByUserId(@Param("userId") Integer userId);

    Boolean updateUser(User user);
}
